package com.lsp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.pojo.pms.Pms_Sku_Info;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//模拟添加es的接口
public interface SkuInfoMapper extends BaseMapper<Pms_Sku_Info> {


    @Select("select  * from pms_sku_info where catalog_id=#{catalog_id} order by rand() limit 0,3")
    public List<Pms_Sku_Info> SelectListBySku(Integer catalog_id);
}
